<?php
$arrData = $this->arrData;
$newfirt = $newsecond = $arr2news = array();
if(count($arrData) > 0)
{
    $newfirt = array_shift($arrData);
}
if(count($arrData) > 0)
{
    $newsecond = array_shift($arrData);
}
if(count($arrData) > 2){
    $arrData = array_slice($arrData, 0, 2); 
}

if(!empty($newfirt)){ ?>
<div class="block_chuyennhuong box_width_common left">
  <div class="title_block">
    <div class="txt_title_left_block">
      <h3><a class="txt_black_hover_blue" href="#" alt="<?php echo $newfirt['catename']; ?>" title="<?php echo $newfirt['catename']; ?>"><?php echo $newfirt['catename']; ?></a></h3>
    </div>
    <div class="txt_view_more"><a href="#" class="txt_gray" alt="Xem thêm <?php echo $newfirt['catename']; ?>" title="Xem thêm <?php echo $newfirt['catename']; ?>">Xem thêm</a> <span class="icon_portal_thethao icon_view_more">&nbsp;</span></div>
    <div class="clear">&nbsp;</div>
  </div>
  <div class="content_block">
    <div class="main_content_block">
      <div class="w320 left">
        <div class="news_left"> <a alt="<?php echo $newfirt['title'];?>" title="<?php echo $newfirt['title'];?>" href="<?php echo $this->articleurl($newfirt);?>"><img src="<?php echo $this->imageurl($newfirt['thumbnail_url'], $this->imageSize['size3']);?>" alt="<?php echo $newfirt['title'];?>" title="<?php echo $newfirt['title'];?>" width="123" height="93"></a>
          <p><a class="txt_black_hover_blue" href="<?php echo $this->articleurl($newfirt);?>"><b><?php echo $newfirt['title'];?> </b></a></p>
          <p class="txt_gray txt_11"><?php echo $this->DateTimeFormat($newfirt['publish_time']);?> <?php echo $this->articlecomment($newfirt);?>
          <p class="txt_gray txt_11">Lượt xem: <?php echo $this->articleview($newfirt); ?></p>
          <p><?php echo $newfirt['lead']; ?> </p>
        </div>
      </div>
      <div class="w320 right">
        <div class="news_right">
          <div class="title_news"> <a title="news name" href="<?php echo $this->articleurl($newsecond); ?>"><img src="<?php echo $this->imageurl($newsecond['thumbnail_url'], $this->imageSize['size4']);?>" alt="<?php echo $newsecond['title']?>" title="<?php echo $newsecond['title']?>" width="73" height="54"></a>
            <p><a class="txt_black_hover_blue" href="<?php echo $this->articleurl($newsecond);?>" alt="<?php echo $newsecond['title']?>" title="<?php echo $newsecond['title']?>"><b><?php echo $newsecond['title']?></b></a></p>
          </div>
          <ul class="list_dot_3x3">
          <?php foreach ($arrData as $news) { ?>
            <li><a href="<?php echo $this->articleurl($news);?>" alt="<?php echo $news['title']?>" title="<?php echo $news['title']?>"><b><?php echo $news['title']?></b></a></li>
          <?php }?>  
          </ul>
        </div>
      </div>
      <div class="clear">&nbsp;</div>
    </div>
  </div>
</div>
<?php } ?>
